﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit_styles.aspx.cs" Inherits="btnet.pages.edit_styles" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title id="titl" runat="server">btnet styles</title>
<link rel="StyleSheet" href="~/scripts/css/btnet.css" type="text/css" />
<script type="text/javascript" language="JavaScript" src="../scripts/javascripts/sortable.js"></script>
</head>

<body>
<% security.write_menu(Response, "admin"); %>


<div class=align>

<div class="lbl" style="width: 600;">
The query "demo use of css classes" has as its first column a CSS class name that is
 composed of the priority's CSS class name concatenated with the status's CSS
 class name.  The SQL looks like this:
</div>
<p>
<div style="font-family: courier; font-weight: bold;">
	select <span style="color: red;">isnull(pr_style + st_style,'datad')</span>, bg_id [id], bg_short_desc [desc], .... etc
</div>
<p>
<div  class="lbl"  style="width: 600;">
Note that in the sql, where there isn't both a priority CSS class and a status CSS class
 available, the default CSS class name of "datad" is used.    The following list lets you see
 how all the different priority/status combinations will look.   Click on a link to edit
 a priority or a status.

</div>

<%

    DisplayList();
%>

<div cls="lbl">Relevant lines from btnet_custom.css:</div>
<div  class="frm" style="width: 600px;" id="relevant_lines" runat="server">
</div>

</div>
<% Response.Write(Application["custom_footer"]); %>
</body>
</html>
